package com.luhuiguo.cms.server.service;

import java.util.List;

import org.springframework.security.core.userdetails.UserDetailsService;

import com.luhuiguo.cms.server.entity.User;

public interface UserService extends UserDetailsService {

    User getUser(Long id);

    User getUserByUsername(String username);

    void saveUser(User user);

    User updateUser(User user);

    void deleteUser(Long id);

    List<User> findUsers();

}
